from .registry import METRIC
from utils import build


def build_metric(cfg):
    return build(cfg, METRIC)
